package de.tuhh.simsearch.model.persistence.contentmgmt.mltools.interfaces;

/**
 * IndexingConstants contains constants used by the indexer. The constants are used for creating index fields and to specify which fields to search in.
 * 
 * @author SimSearch 1
 *
 */
public interface IndexingConstants {

  /**
   * The string value for the field content
   */
  public static final String CONTENT_FIELD = "content";
  
  /**
   * The string value for the field metadata
   */
  public static final String META_FIELD = "metadata";
  
  /**
   * The string value for the field file id
   */
  public static final String FILEID_FIELD = "fileid";
  
  /**
   * The string value for the field file name
   */
  public static final String FILENAME_FIELD = "filename";
  
  /**
   * The string value for the field description
   */
  public static final String DESCRIPTION_FIELD = "description";
  
  /**
   * The string value for the field category
   */
  public static final String CATEGORY_FIELD = "category";
  
  /**
   * The string array which holds all names of all possible fields
   */
  public static final String[] FIELDS = { CONTENT_FIELD, META_FIELD, FILEID_FIELD, FILENAME_FIELD, DESCRIPTION_FIELD,
      CATEGORY_FIELD };
}
